<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/1/27 0027
 * Time: 23:59
 */

class Hello {//这是类

    public function sayHello(){//这是方法
        echo 'hello php';
    }
}
class Desktop{
    public function work(){
    echo 'work';
    }
}